<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ include file="../base.jsp"%>
<!DOCTYPE html>
<html>
<head>
    <!-- 页面meta -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>数据 - AdminLTE2定制版</title>
    <meta name="description" content="AdminLTE2定制版">
    <meta name="keywords" content="AdminLTE2定制版">
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" name="viewport">
    <!-- 页面meta /-->
    <script src="${ctx}/plugins/jQuery/jquery-2.2.3.min.js"></script>
</head>
<body>

<div id="frameContent" class="content-wrapper" style="margin-left:0px;">
    <!-- 内容头部 -->
    <section class="content-header">
        <h1>
            用户反馈
            <small></small>
        </h1>
        <ol class="breadcrumb">
            <li><a href="all-admin-index.html"><i class="fa fa-dashboard"></i> 首页</a></li>
            <li><a href="all-order-manage-list.html">用户反馈</a></li>
        </ol>
    </section>
    <!-- 内容头部 /-->
    <!-- 正文区域 -->
    <section class="content">
        <!-- /.col -->
        <div class="col-md-12">
            <div class="box box-primary">
                <form id="editForm" action="/user/feedback/save.do" method="post">
                <div class="box-header with-border">
                    <h3 class="box-title">用户反馈</h3>
                </div>
                <!-- /.box-header -->
                <div class="box-body">
                    <div class="form-group">
                        <ul class="list">
                            <li>
                                <input tabindex="23" type="radio" id="polaris-radio-1" name="radio" value="2">
                                <label for="polaris-radio-1">给予企业的建议</label>
                            </li>
                            <li>
                                <input tabindex="24" type="radio" id="polaris-radio-2" name="radio" value="1" checked>
                                <label for="polaris-radio-2">给予系统的建议</label>
                            </li>
                        </ul>
                    </div>
                    <div class="form-group">
                       <h2>请您留下的建议:</h2>
                    </div>
                    <div class="form-group">
                    <textarea id="compose-textarea" name="textarea" class="form-control" style="height: 300px"></textarea>
                    </div>
                    <%--<div class="form-group">
                        <div class="btn btn-default btn-file">
                            <i class="fa fa-paperclip"></i> 上传你的图片
                            <input type="file" id="file" name="file">
                        </div>
                        <p class="help-block">最大的上传大小5MB</p>
                    </div>--%>
                </div>
                <!-- /.box-body -->
                <div class="box-footer">
                    <div class="pull-right">
                        <button type="submit" class="btn btn-primary" onclick='document.getElementById("editForm").submit()' ><i class="fa fa-envelope-o"></i>发送</button>
                    </div>
                    <button type="reset" id="reset" class="btn btn-default"><i class="fa fa-times"></i> 重置</button>
                </div>
                <!-- /.box-footer -->
                </form>
            </div>

            <!-- /. box -->
        </div>
        <!-- /.col -->
    </section>
    <!-- 正文区域 /-->
</div>
<!-- 内容区域 /-->
</body>

<script>
    $("#reset").click(function () {
        $("#file").val("");
        $("#compose-textarea").val("");
        $("#polaris-radio-1").val("");
        $("#polaris-radio-2").val("")
    })
</script>
</html>